package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.DtQuestion;

/**
 * 党统督办Mapper接口
 * 
 * @author ruoyi
 * @date 2024-03-18
 */
public interface DtQuestionMapper 
{
    /**
     * 查询党统督办
     * 
     * @param id 党统督办主键
     * @return 党统督办
     */
    public DtQuestion selectDtQuestionById(String id);

    /**
     * 查询党统督办列表
     * 
     * @param dtQuestion 党统督办
     * @return 党统督办集合
     */
    public List<DtQuestion> selectDtQuestionList(DtQuestion dtQuestion);
    
    public List<DtQuestion> selectDtQuestionListForPublish(DtQuestion dtQuestion);
    
    public List<DtQuestion> selectDtQuestionListForReform(DtQuestion dtQuestion);
    
    public List<DtQuestion> selectDtQuestionListForCheck(DtQuestion dtQuestion);

    /**
     * 新增党统督办
     * 
     * @param dtQuestion 党统督办
     * @return 结果
     */
    public int insertDtQuestion(DtQuestion dtQuestion);

    /**
     * 修改党统督办
     * 
     * @param dtQuestion 党统督办
     * @return 结果
     */
    public int updateDtQuestion(DtQuestion dtQuestion);

    /**
     * 删除党统督办
     * 
     * @param id 党统督办主键
     * @return 结果
     */
    public int deleteDtQuestionById(String id);

    /**
     * 批量删除党统督办
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDtQuestionByIds(String[] ids);
}
